#include "AABB.h"

namespace Math {
	AABB::AABB() : m_Max(Math::Vector()), m_Min(Math::Vector())
	{
	}

	AABB::AABB(Vector &max, Vector &min)
	{
		m_Max = max;
		m_Min = min;
		m_Center = (max - min)/2;
	}

	bool AABB::intersects(Ray &ray, float &t)
	{
		return true;
	}
}